package com.cuixichang.minimalism.transfer.page;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.cuixichang.minimalism.basal.core.BaseQueryRequest;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;
/**
 * 角色信息管理表对象实体
 *
 * @author cuixichang
 * @date 2024-12-18
 */

@ApiModel(value = "IRole查询请求对象" , description = "角色信息管理表" ,parent = BaseQueryRequest.class)
@Data
@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class IRoleQueryRequest extends BaseQueryRequest{
    @ApiModelProperty(value = "关联关系id", name = "parentId")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long parentId;
    @ApiModelProperty(value = "角色名称", name = "roleName")
    private String roleName;
    @ApiModelProperty(value = "角色编码", name = "roleCode")
    private String roleCode;
    @ApiModelProperty(value = "角色备注信息", name = "roleRemark")
    private String roleRemark;
    @ApiModelProperty(value = "是否是默认角色【0:否(默认);1:是】", name = "isDefault")
    private Boolean isDefault;
    @ApiModelProperty(value = "系统编码", name = "createSystemCode")
    private String createSystemCode;
}
